package com.example.su_shi_tan_core.bean

import java.io.Serializable

data class SignUserBean(
    val adminid: Int,
    val avatar: String,
    val brokerage_price: String,
    val card_cons_url: String,
    val card_pros_url: String,
    val check_status: Int,
    val check_time: Int,
    val com_uid: Int,
    val deduction_integral: Int,
    val email: String,
    val fvc_balance: String,
    val fvc_balance_lock: String,
    val identification: String,
    val integral: String,
    val invite_code: String,

    ////昨日是否签到
    val is_YesterDay_sgin: Boolean,
    val is_activation: Int,
    val is_address: Int,
    val is_check: Int,
    val is_collection: Int,
    val is_community: Int,

    //今日是否签到
    val is_day_sgin: Boolean,
    val is_promoter: Boolean,
    val login_type: String,
    val nickname: String,
    val now_money: String,
    val pay_count: Int,
    val pay_pwd: String,
    val red_packet: String,

     //注册人数
    val reg_count: Int,
    val self_buy: String,
    val shards: String,

    //点亮签到
    val sign_num: Int,
    val spread_count: Int,
    val sst_balance: String,
    val st_balance: String,
    val st_balance_lock: String,
    val st_balance_total: String,
    val sum_integral: Int,

    var activation_num:Int,

    //已累计签到
    val sum_sgin_day: Int,

    val today_integral: Int,
    val total_achievement: String,

    //完成激活人数
    val total_activation_count: Int,

    //送出ST
    val total_st_balance: Int,

    //地址二维码
    val wallet_address_qrcode_url:String,

    //待激活人数
    val total_unactivation_count: Int,
    val turn_integral: String,
    val uid: Int,
    val wallet_address: String
):Serializable{
    fun integralStr():String{
        return integral
    }

    fun isActivation()=is_activation==1
}